package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.BusinessInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UBbusinessDao extends BaseMapper<BusinessInfo> {

	@Select("update b_business_info set  password=#{newPassword1}  WHERE telephone=#{telephone}")
	void updatePassword(@Param("telephone") String telephone, @Param("newPassword1") String newPassword1);


	BusinessInfo selectBusinessBytelephone(String username);


}
